//可以实现重启和软重启

function reset(device){
    var d = device==undefined?getDevice(0):device
    sendCommand("id=008&Reset",d)
}
function restart(device){
    var d = device==undefined?getDevice(0):device
    sendCommand("id=009&Restart",d)
}